home *** CD-ROM | disk | FTP | other *** search
- POV Fractal Landscape Generator
- From: John Stanely [Dracus on America Online]
- Subj: VGA -- POV Fractal Landscape Generator
- Date: 04/21/92
-
- Here is a fractal landscape generator that writes POV compatible ascii
- file. The files generated are composite object -- 3 point surface lists
- and includes a boundary intersection for the object.
-
- To start the program, type:
-
- LANDSCAP [nnn]
-
- where [nnn] is an optional random number generator seed. Once the fractal
- is generated it is displayed on the screen with hidden surfaces removed.
- When you hear the BEEP you have options to choose from...
-
- Press ENTER -- Generate another fractal.
- Press F1 -- Draw FRONT wire frame graph view.
- Press F2 -- Draw BACK wire frame graph view.
- Press F3 -- Draw LEFT wire frame graph view.
- Press F4 -- Draw RIGHT wire frame graph view.
- Press the letter P -- Write surface list in POV format.
- Press the letter R -- Write surface list in RAW format.
-
- Only the surfaces display as BROWN lines are included in the surface file.
- The BLUE surfaces are just part of the unused ground plane. To exit the
- program, press any key while a fractal is being calculated.
-
- All surface vertex coordinates are written in clock-wise order for outward
- pointing surface-normals. And, the landscape is calculated with Positive Z
- as UP. I've included a sample file (HILLS.DAT) that shows how to properly
- use a LANDSCAP.DAT include file with POV.
-
- Please report any problems to:
-
- John D. Stanley
- 6959 California Ave S.W.
- Seattle, WA 98136
-
- Good Luck and Good Hunting!
-
-
-